import Home from "../views/Index/children/home.vue";
import My from "../views/Index/children/my.vue";
import NewHouse from "../views/Index/children/NewHouse.vue";
import OldHouse from "../views/Index/children/OldHouse.vue";
import RentHouse from "../views/Index/children/RentHouse.vue";

const homePage = [{
        path: "/index/home",
        component: Home,
        meta: {
            title: "首页",
            icon: "wap-home-o",
        },
    },
    {
        path: "/index/newHouse",
        component: NewHouse,
        meta: {
            title: "新房",
            icon: "shop-collect-o",
        },
    },
    {
        path: "/index/oldHouse",
        component: OldHouse,
        meta: {
            title: "二手房",
            icon: "home-o",
        },
    },
    {
        path: "/index/rentHouse",
        component: RentHouse,
        meta: {
            title: "租房",
            icon: "shop-o",
        },
    },
    {
        path: "/index/my",
        component: My,
        meta: {
            title: "我的",
            icon: "user-o",
        },
    },
];

export default homePage;